package us.mooresr.aircraftscheduling.shared.model;

import java.io.Serializable;
import java.lang.String;

import javax.persistence.Id;

public class User implements Serializable {

	private static final long serialVersionUID = 6426515336568789467L;
	
	@Id
	private Long userId;
	private String name;
	private Boolean isInactive;


	public User() {
	}
	
	

	public User(Long userId, String name, Boolean isInactive) {
		super();
		this.userId = userId;
		this.name = name;
		this.isInactive = isInactive;
	}



	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Long getUserId() {
		return userId;
	}

	public String getName() {
		return name;
	}
	
	public void setIsInactive(Boolean isInactive) {
		this.isInactive = isInactive;
	}
	
	public Boolean getIsInactive() {
		if (isInactive == null) {
			return false;
		} else {
			return isInactive;
		}
	}

}
